home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 1 / Amiga Tools.iso / egs-tools / egs_dev-disk / egsincludes / clib / egsalphablit_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-06  |  3.6 KB  |  111 lines

  1. #ifndef CLIB_EGS_ALPHABLIT_PROTOS_H
  2. #define CLIB_EGS_ALPHABLIT_PROTOS_H
  3.  
  4. /***************************************************************************\
  5. *  $
  6. *  $ FILE     : egsalphablit_protos.h
  7. *  $ VERSION  : 1
  8. *  $ REVISION : 1
  9. *  $ DATE     : 19 Aug 1993 01:37
  10. *  $
  11. *  $ Author   : mvk
  12. *  $
  13. *
  14. *  C prototypes
  15. *
  16. *****************************************************************************
  17. *                                                                           *
  18. * (c) Copyright 1990/93 VIONA Development                                   *
  19. *     All Rights Reserved                                                   *
  20. *                                                                           *
  21. \***************************************************************************/
  22.  
  23. #ifndef         EXEC_TYPES_H
  24. #include        <exec/types.h>
  25. #endif
  26. #ifndef         EGS_EGS_H
  27. #include        <egs/egs.h>
  28. #endif
  29. #ifndef         EGS_EGSALPHABLIT_H
  30. #include        <egs/egsalphablit.h>
  31. #endif
  32.  
  33. VOID EA_Compose(EA_AlphaOpPtr alpha);
  34.  
  35. void EA_AndAlphaAlpha(E_EBitMapPtr src1,
  36.                       E_EBitMapPtr src2,
  37.                       E_EBitMapPtr dst,
  38.                       WORD sx1,  WORD sy1,
  39.                       WORD sx2,  WORD sy2,
  40.                       WORD   w,  WORD   h,
  41.                       WORD  dx,  WORD  dy);
  42.  
  43. void EA_OrAlphaAlpha(E_EBitMapPtr src1,
  44.                       E_EBitMapPtr src2,
  45.                       E_EBitMapPtr dst,
  46.                       WORD sx1,  WORD sy1,
  47.                       WORD sx2,  WORD sy2,
  48.                       WORD   w,  WORD   h,
  49.                       WORD  dx,  WORD  dy);
  50.  
  51. void EA_CopyAlpha(E_EBitMapPtr src,
  52.                   E_EBitMapPtr dst,
  53.                   WORD  sx,  WORD sy,
  54.                   WORD   w,  WORD   h,
  55.                   WORD  dx,  WORD  dy);
  56.  
  57.  
  58. void EA_ApplyAlphaTable(E_EBitMapPtr src,
  59.                         E_EBitMapPtr dst,
  60.                         EA_AlphaTablePtr tab,
  61.                         WORD sx,  WORD sy,
  62.                         WORD   w,  WORD   h,
  63.                         WORD  dx,  WORD  dy);
  64.  
  65. void EA_BuildAlphaRange(E_EBitMapPtr src,
  66.                         E_EBitMapPtr dst,
  67.                         ULONG  min,
  68.                         ULONG  max,
  69.                         UBYTE  in,  UBYTE out,
  70.                         WORD   sx,  WORD   sy,
  71.                         WORD   w,   WORD    h,
  72.                         WORD   dx,  WORD   dy);
  73.  
  74.  
  75. void EA_BuildAntiMaskMap4( E_EBitMapPtr src,
  76.                            E_EBitMapPtr dst,
  77.                            WORD   dx,  WORD   dy,
  78.                            WORD   w,   WORD    h);
  79.  
  80. void EA_BuildAreaMask( E_EBitMapPtr src,
  81.                        E_EBitMapPtr dst,
  82.                        ULONG  min,
  83.                        ULONG  max,
  84.                        WORD   sx,  WORD   sy,
  85.                        WORD   w,   WORD    h,
  86.                        WORD   dx,  WORD   dy);
  87.  
  88. void EA_ScaleMap( E_EBitMapPtr src,
  89.                   E_EBitMapPtr dst,
  90.                   WORD   sx,  WORD   sy,
  91.                   WORD   sw,  WORD   sh,
  92.                   WORD   dx,  WORD   dy,
  93.                   WORD   dw,  WORD   dh,
  94.                   ULONG type);
  95.  
  96. E_EBitMapPtr EA_Translate2Dim( E_EBitMapPtr  src,
  97.                                EA_Matrix2Ptr mat,
  98.                                WORD   sx,  WORD   sy,
  99.                                WORD   w,   WORD    h,
  100.                                WORD   sample);
  101.  
  102.  
  103. E_EBitMapPtr EA_RotateBitMap(E_EBitMapPtr src,
  104.                              WORD   sx,  WORD   sy,
  105.                              WORD   sw,  WORD   sh,
  106.                              WORD   w,
  107.                              ULONG  types);
  108.  
  109. #endif /* CLIB_EGS_ALPHABLIT_PROTOS_H */
  110.  
  111.